package com.kate.mall.bff.wx.controller.form;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import java.io.Serializable;
/**
 * @description: {TODO}
 * @author: 新梦想.陈超
 * @date:  2023/6/29 下午2:13
 * @version: v1.0
 *
 * 登录异常json注入异常：JSON parse error not marked as ignorable;
 * 解决方案：
 *  @JsonIgnoreProperties(ignoreUnknown = true)
 * public class MyObject {
 *   // fields and methods
 * }
 * 参考链接：https://www.w3docs.com/snippets/java/jackson-with-json-unrecognized-field-not-marked-as-ignorable.html#:~:text=If%20you%20are%20using%20the%20Jackson%20library%20to,that%20is%20not%20recognized%20by%20your%20Java%20object.
 **/
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class UserInfo implements Serializable {
    private String nickName;
    private Integer gender;
    private String avatarUrl;
}